package com.neusoft.boot32.dibuy.repository.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.neusoft.boot32.dibuy.entity.Author;
import com.neusoft.boot32.dibuy.mapper.AuthorMapper;
import com.neusoft.boot32.dibuy.repository.IAuthorRepsitory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @program: springboot32
 * @description:
 * @author: Jingdi.Duan ,duanjingdi@msn.com
 * @create: 2024-07-11 08:11
 **/
@Component
public class AuthorRepsitoryImpl extends ServiceImpl<AuthorMapper, Author> implements  IAuthorRepsitory{

    @Override
    public List<Author> selectAll() {
        return baseMapper.selectList(null);
    }
}
